package com.rzjm.exercise.module.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rzjm.exercise.common.base.dao.BaseDao;
import com.rzjm.exercise.module.domain.TerminalCheckRecord;
import com.rzjm.exercise.module.domain.TerminalCleanRecord;
import com.rzjm.exercise.module.domain.TerminalHealthRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 会员卡
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Mapper
public interface TerminalCheckRecordDao extends BaseDao<TerminalCheckRecord> {

    List<TerminalCheckRecord> getPageByUserId(Page<TerminalCheckRecord> page, @Param("map") Map<String,Object> map);
    List<TerminalCleanRecord> getCleanPageByUserId(Page<TerminalCheckRecord> page, @Param("map") Map<String,Object> map);

    Integer getCountBySysUserId(@Param("map") Map<String,Object> map);

    List<TerminalCheckRecord> getPageByUserId(@Param("map") Map<String,Object> map);
    List<TerminalCleanRecord> getCleanPageByUserId(@Param("map") Map<String,Object> map);
    List<TerminalHealthRecord> getHealthPageByUserId(@Param("map") Map<String,Object> map);
    List<TerminalCheckRecord> getRepairPageByUserId(Page<TerminalCheckRecord> page, @Param("map") Map<String,Object> map);

}
